﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="VideoRamdom.ascx.cs" Inherits="Module_Video_Controls_VideoRamdom" %>
<%--<%@ Register TagPrefix="avg" Namespace="Avg.Controls" Assembly="SmartPager" %>--%>
<%@ Import Namespace="DemoObject" %>
<%@ Import Namespace="BusinessObjects" %>
<div style="background-color:White;padding:5px;">
<div>
    <h3>
        <a class="title">
            <%="Video khác".ToUpper() %></a>
    </h3>
</div>
<asp:Repeater runat="server" ID="rpt">
    <ItemTemplate>
        <div style="width: 20%; float: left; text-align: center; padding-bottom: 20px;">
            <a class="title1" href='<%#UrlBuilder.UrlVideoPlayer(((TblVideo)Container.DataItem).TblVideoCategories.TextId,Eval("TextId").ToString()) %>' title="<%#Eval("Name") %>">
                <img alt="" src='<%#UrlBuilder.ImageUrl(Eval("ImageUrl").ToString(),70,70)%>' />
            </a>
            <br />
            <a class="title1" href='<%#UrlBuilder.UrlVideoPlayer(((TblVideo)Container.DataItem).TblVideoCategories.TextId,Eval("TextId").ToString()) %>' title="<%#Eval("Name") %>">
                <%#Eval("Name") %>
            </a>
        </div>
        	<%#(Container.ItemIndex+1)%5==0?"<div style='clear:both'></div>":"" %>
    </ItemTemplate>
</asp:Repeater>
<div style="clear:both"></div>
</div>
  <%--<avg:SmartPager ID="smartPager" runat="server" Visible="false" />--%>
